package com.start.workflow.common.model;

import com.start.common.std.StartBaseParamEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@Schema(name = "StartActBusinessModel", description = "流程业务基础模型")
public class StartActBusinessModel extends StartBaseParamEntity {
    @Schema(name = "流程实例id")
    private String procInstId;
    @Schema(name = "流程定义key")
    private String procDefKey;
    @Schema(name = "流程定义名称")
    private String procDefName;
    @Schema(name = "流程定义分组")
    private String procDefCategory;
    @Schema(name = "流程定义id")
    private String procDefId;
    @Schema(name = "流程发布id")
    private String procDeployId;
    @Schema(name = "流程版本")
    private Integer procDefVersion;
    @Schema(name = "流程申请人key")
    private String procStartUserKey;
    @Schema(name = "流程申请人类型（即用户体系）")
    private String procStartUserType;
    @Schema(name = "流程申请人用户id")
    private String procStartUserId;
    @Schema(name = "申请时间")
    private LocalDateTime procStartTime;
    @Schema(name = "流程结束时间")
    private LocalDateTime procEndTime;
    @Schema(name = "流程实例处理状态")
    private Integer procHandlerState;
    @Schema(name = "流程表单key")
    private String procBusFormId;
    @Schema(name = "业务数据id")
    private String procBusDataId;
    @Schema(name = "流程处理备注")
    private String procHandlerOpinion;

}
